From: Lars Ingebrigtsen Date: Sun, 11 Oct 2020 10:05:55 +0000 (+0200) Subject: Autoload shortdoc command and adjust NEWS X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~4906 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=e441a25daaf785305b77bff8aae666ea21fb3107;p=emacs.git Autoload shortdoc command and adjust NEWS * lisp/emacs-lisp/shortdoc.el (shortdoc-display-group): Autoload. --- diff --git a/etc/NEWS b/etc/NEWS index 3166eb22a6c..cc8733c2c07 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -87,7 +87,7 @@ useful on systems such as FreeBSD which ships only with "etc/termcap". +++ *** A new system for displaying documentation for groups of function is added. -This can either be used by saying 'M-x short-documentation-group' and +This can either be used by saying 'M-x shortdoc-display-group' and choosing a group, or clicking a button in the *Help* buffers when looking at the doc string of a function that belongs to one of these groups. diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el index cabf026cd0e..e2e5c0f5732 100644 --- a/lisp/emacs-lisp/shortdoc.el +++ b/lisp/emacs-lisp/shortdoc.el @@ -935,6 +935,7 @@ There can be any number of :example/:result elements." (sqrt :eval (sqrt -1))) +;;;###autoload (defun shortdoc-display-group (group) "Pop to a buffer and display short documentation for functions in GROUP." (interactive (list (completing-read "Show functions in: "